
<div id="buscar"  >
    <form class="well form-search" action="<?php echo base_url() . "index.php/ciclo/presearch" ?>" method="post" >
        <input type="text" class="input-medium search-query" name="txtsearch">
        <button type="submit" class="btn">Buscar</button>
    </form> 
</div>
<br/>
<br/>
<br/>
<div id="tabla" >
    <table class="table table-bordered table-striped table-condensed">
        <caption><h3>LISTADO DE SEMESTRES POR CARRERAS </h3></caption>
        <thead>
            <tr>
                <th>CARRERA CARRERA</th>
                <th>NOMBRE MALLA</th>
                <th>ESTADO MALLA</th>
                <th>NOMBRE SEMESTRE</th>
                <th colspan="2" align ="center">Acciones</th>
            </tr>
        </thead>
        <tbody>
            <?php
            if (!empty($ciclo)) {
                foreach ($ciclo as $i => $row) {
                    ?>
                    <tr>
                        <td><?php echo $row['nombre_car'] ?></td>
                        <td><?php echo $row['descripcion_pen'] ?></td>
                        <td><?php echo $row['estado_pen'] ?></td>
                        <td><?php echo $row['nombre_cic'] ?></td>
                        <td>
                            <a href='<?php echo (base_url() . "index.php/ciclo/actualizar/upd/" . $row['ide_car'] . '/' . $row['ide_cic']); ?>'>
                                <i class="icon-edit"></i>Editar</a>
                        </td>
                        <td>
                            <a href='<?php echo (base_url() . "index.php/ciclo/actualizar/del/" . $row['ide_car'] . '/' . $row['ide_cic']); ?>'>
                                <i class="icon-remove"></i>Eliminar</a></td>

                    </tr>
                    <?php
                }
            }
            ?>
        </tbody>
    </table>        
</div>
<div id="agregar">
    <form class="well" action="<?php echo base_url() . "index.php/ciclo/crear" ?>" method="post" >
        <input class="btn" type="submit"  value="Crear Nueva Ciclo">


    </form> 
</div>


